@echo off

echo MinGW Enviroment Command Console
echo ....
echo ....

set MINGDIR=C:\MinGW
set MINGWBIN=%MINGDIR%\bin
set MINGWINCLUDE=%MINGDIR%\include
set MINGWLIB=%MINGDIR%\lib
set MINGWLIBEXEC=%MINGDIR%\libexec\gcc\mingw32\3.4.5
set MINGWBIN2=%MINGDIR%\mingw32\bin
set MINGWLIB2=%MINGDIR%\mingw32\lib\ldscripts
set MSYS=c:\msys\1.0\bin
set MINGW=%MINGDIR%;%MINGWBIN%;%MINGWINCLUDE%;%MINGWLIB%;%MINGWLIBEXEC%;%MINGWLIB2%;%MINGWLIB2%;%MSYS%

rem to add more resource paths just use the set command like above and the and it to the set PATH like below 

set PATH=%MINGW%;%PATH%

cmd.exe